list = [1, 3, 2, 4, 7, 6, 5]
list.sort()
print(list)
# [1, 2, 3, 4, 5, 6, 7]

listB = [1, 3, 2, 4, 7, 6, 5]
listB.sort(reverse=True)
print(listB)
# [7, 6, 5, 4, 3, 2, 1]